﻿<UserControl x:Name="userControl" x:Class="USpell.Controls.GuessItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">

    <Canvas Tap="Ellipse_Tap" Height="70" Width="480" Name="can_GuessItem" RenderTransformOrigin="0.5,0.5" VerticalAlignment="Top" HorizontalAlignment="Left">

        <Canvas.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#97D3AE52" Offset="1"/>
                <GradientStop Color="Gainsboro"/>
                <GradientStop Color="#1AFFFFFF" Offset="0.465"/>
            </LinearGradientBrush>
        </Canvas.Background>
        <StackPanel Width="480" HorizontalAlignment="Left" VerticalAlignment="Top">
			
        	<Canvas x:Name="canvas" Height="38">
        		<TextBlock Foreground="#FF266126" Canvas.Left="440" x:Name="tb_GuessText" FontSize="26.667" FontFamily="Comic Sans MS" Text="{Binding InfoText, ElementName=userControl, Mode=TwoWay, UpdateSourceTrigger=Default}" FontWeight="Bold" />
        	</Canvas>
        	<Grid x:Name="grid"  Width="480" VerticalAlignment="Bottom" HorizontalAlignment="Left" Height="32">
        		<TextBlock x:Name="tb_CreateTime" Text="{Binding CreateTime, ElementName=userControl, Mode=TwoWay}" Foreground="Black"/>
        	</Grid>
        </StackPanel>
	
    </Canvas>
</UserControl>